package tech.aistar.service;

import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;
import tech.aistar.pojo.SongList;
import tech.aistar.pojo.entity.SingerList;

import java.util.List;

public interface SongListService {
    List<SongList> findAll(String songTitle);//根据歌曲的名称查找全部

    List<SongList> findAlllist(Integer id);//根据歌曲id查询全部
//    List<SongList> getBySId(Integer songListId);

    List<SongList> findAlllist1(Integer id);
    PageInfo<SongList> findBypicture(Integer id, Integer pageNum, Integer pageSize);//分页
    PageInfo<SongList> findBypictures(Integer id, Integer pageNum, Integer pageSize);//分页
    List<SongList> getBySingerName(String singerName);

    List<SongList> getSongId(Integer id);

    List<SongList> Allfind();
    List<SongList> getBySongId(Integer id);


    List<SongList> selectAll(String songTitle,String singerName,String lyrics);//根据歌手歌词歌名查找

    PageInfo<SongList> finds(String searchkey,Integer pageNum,Integer PageSize);
    SongList getSongBySongTitle(String songTitle);
    SongList getBySongI(Integer id);

    List<SongList> hotSong();

}
